package cn.nuist.service;

import cn.nuist.entity.Products;
import cn.nuist.utils.Page;

import java.util.List;

public interface ProductService {
    Page<Products> getViewPage(Integer pageNum);

    Products getProductByName(String productName);

    Products getProductLike(String productName);

    void add(Products products);

    void delete(Integer productID);

    void update(Products product);

    Products getProductByID(Integer productID);
}
